package com.personal.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "NewResourcesBO", description = "最新资源文章的BO")
public class NewResourcesBO {

    @ApiModelProperty(value = "第几页",example = "1")
    @NotNull(message = "分页参数不能为空")
    private Integer pageNum;

    @ApiModelProperty(value = "每页有几条",example = "10")
    @NotNull(message = "分页参数不能为空")
    private Integer pageSize;

}
